<?php
class Jwawa_Validate_StringLength extends Zend_Validate_StringLength
{
    protected $_encoding = 'UTF-8';

    protected $_messageTemplates = array(
        self::INVALID   => "'%value%' 不是字符类型",
        self::TOO_SHORT => "'%value%' 长度必须大于等于 %min%",
        self::TOO_LONG  => "'%value%' 长度必须小于等于 %max%",
    );
}
